<?php
/*
Template Name: Program
*/
?>

<?php get_header(); ?>

</div><!-- header -->

	<?php wp_reset_query(); ?>
	<div class="breadcrumb">		
		<?php
			if(function_exists('bcn_display')) {
				bcn_display();
		}
		?> 
	</div>
<div id="innerContainer" class="span-1" style="background: transparent url(<?php bloginfo('template_url'); ?>/style/img/<?php echo get_post_meta($post->ID, 'background', true) ?>) no-repeat 0 0;">

<div id="mainContent"> 
	
		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
		<div class="post program" id="post-<?php the_ID(); ?>">
			<h2><?php the_title(); ?></h2>
			<?php the_content('<p>Read the rest of this page &raquo;</p>'); ?>
			<?php wp_link_pages(array('before' => '<p>Pages: ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
		</div>
		<?php endwhile; endif; ?>
	<?php edit_post_link('Edit this entry.'); ?>
</div><!-- mainContent -->
</div><!-- innerContainer -->	


<div class="clear"></div>
<?php get_footer(); ?>
